1. Introduction

HTML (Hyper Text Markup Language) is a standard markup language for creating Web pages.
It's elements are represented by tags.
HTML files can be saved with both .htm or .html extensions.
The latest version is HTML5.

What is a Markup Language?
A markup language is a computer language that uses easy to read syntax.
It is only used to format the text.
When the document is processed for display, the markup language is not shown.

HTML Tags

Element names surrounded by angle brackets:

<tagname> content goes here...</tagname>

Web Browsers (Chrome,Firefox)

They read and display HTML documents.
Tags are not displayed.

b4b8c7d2fb685d2ea76898a5bed73aa4.png

e5d7cb9bf57035f4a5896286c35e8a5a.png

ca98726c9f6ab763d24b590b7ff801f3.png

If Title tag is missing in html file then the browser's tab will show the file name.

<!DOCTYPE> Declaration

It represents the document type, and helps browsers to display web pages correctly.

Appear once at the top and is not case sensitive.

<!DOCTYPE html>